Skip to content

Suppress npm verbose output in Makefile formatting commands#82

Merged
michaelbarton merged 1 commit intomasterfrom
claude/fix-build-warnings-74KAA
Mar 10, 2026
Merged

Suppress npm verbose output in Makefile formatting commands#82
michaelbarton merged 1 commit intomasterfrom
claude/fix-build-warnings-74KAA

Conversation

@michaelbarton
Copy link
Owner

Summary

Add --loglevel error flag to all npx commands in the Makefile to suppress verbose npm output during formatting operations.

Changes

  • Added --loglevel error flag to npx prettier commands (both fmt and fmt_check targets)
  • Added --loglevel error flag to npx @johnnymorganz/stylua-bin commands (both fmt and fmt_check targets)

Details

This change reduces noise in the build output by suppressing npm's informational and warning messages, allowing only actual errors to be displayed. This makes the formatting command output cleaner and easier to read, while still preserving error reporting if something goes wrong.

https://claude.ai/code/session_01XRtsqBRxV9jPSVp5Xap4kV

Add --loglevel error to npx calls to hide deprecation warnings from
transitive dependencies (inflight, rimraf, glob, fstream, etc.) that
are outside our control.

https://claude.ai/code/session_01XRtsqBRxV9jPSVp5Xap4kV
@michaelbarton michaelbarton merged commit 6c0b443 into master Mar 10, 2026
2 checks passed
@michaelbarton michaelbarton deleted the claude/fix-build-warnings-74KAA branch March 10, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants